home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.4 Patches 1998 April / IRIX 6.4 Recommended-Required Patches April 1998.img / dist / 6.4_MIPSpro_7.2_Compilers / inst.init next >
Text File  |  1998-03-04  |  1KB  |  26 lines

  1. #!/bin/sh
  2. # This script attempts to set the selections appropriately for the patches
  3. # in this directory.  This script sets the selections but does not
  4. # attempt to perform the actual installation.
  5. #
  6. # This script will be run by inst (or swmgr) when the distribution directory,
  7. # if placed at the top level distribution directory, with the name
  8. # "inst.init".  The user is asked if the script should be run, unless
  9. # the resource "startup_script" is set to either "ignore" or "execute",
  10. # to suppress asking the question.  Automatic installs (inst -a) fail
  11. # if this resource is not set, and this file is present.
  12. #
  13. # The script has access to the normal environment variables (those that
  14. # can be used by pre-, post-, and exit-ops), such as $mr, $rbase, and
  15. # $dist.
  16. #
  17. # It is invoked with 3 arguments.  The first is either "inst" or "swmgr"
  18. # for scripts that want to behave differently.  The second is the distribution
  19. # path, and the third is the file descriptor number for communicating
  20. # results/commands back to inst or swmgr.
  21. #
  22. # The script should exit with the value 0 if there are no errors
  23. # if the exit value is non-zero, a warning message is printed.
  24. #
  25. echo "install A\nkeep S" >&$3
  26.